// import { Navigate } from "react-router-dom";
// import { lazy, Suspense } from "react"
// import Index from "../views/Index/Index";
// import Lazy from "../components/Lazyload";
// import Login from "../views/Login/Login";
// import { Routes, Route } from 'react-router-dom'
// import Author from './Author'
import CityList from "../components/city/CityList"
import City from "../components/city/City"
import Home from "../components/Home/Home"
import Info from "../components/Info/Info"


const elements = [
    {
        path: '/',
        element: <CityList></CityList>,
    },
    {
        path: '/city',
        element: <City></City>,
    },
    {
        path: '/home',
        element: <Home></Home>,
    },
    {
        path: '/info',
        element: <Info></Info>,
    },
]

export default elements